<!DOCTYPE html>
<%include("inc/html.html"){};%>
    <title>${config.webname!'WE823 CMS'} - 公司新闻</title>
    <%include("inc/css.html"){};%>
	<link rel="stylesheet" href="${ctx}/static/assets/lightbox/css/lightbox.css">
	</head>
    <body>
    <div class="container-fluid">
    	<header>
    		<%layout("inc/header.html",{isFirstPage:false}){};%>
    	</header>
    	<div class="container-fluid">
    		<div class="container news">
    			<div class="col-md-10">
	    			<section class="right-section" >
	    				<div class="section-title">${channelName}</div>
						<div class="section-detail">
							<%if(newsModels!=null){%>
							<ul>
							<%for(news in newsModels){%>
								<li><span>[${news.addtime,"yyyy-MM-dd"}]</span><a href="news_${news.id!0}.jspx" title="${news.title!''}">${news.title!'未知标题'}</a></li>
							<%}%>
							</ul>
							<%}else{%>
							暂无新闻！
							<%}%>
                       </div>
	    			</section>
				</div>
				<!-- /.col-md-10 -->
    		    <div class="col-md-2">
					<dl class="left-content">
						<dt>新闻导航</dt>
						<%for(newsChannel in newsChannels!){%>
						<dd>
						<a href="newss.jspx?id=${newsChannel.id!0}">${newsChannel.name!'未知'}</a>
						</dd>
						<%}%>
					</dl>
    			</div>
    		</div>
    		<!-- /.col-md-2 -->
    	</div>
    	<!-- /.container -->
    	<footer>
    		<%include("inc/footer.html"){};%>
    	</footer>
    </div>
	<%include("inc/js.html"){};%>
	<script src="${ctx}/static/assets/lightbox/js/lightbox-2.6.min.js"></script>
	<script src="${ctx}/static/assets/jquery/template.js"></script>
	<script src="${ctx}/static/skins/${theme}/js/main.js"></script>
	<script>
		$(document).ready(function(){
			
			$(".left-content").pin({
				containerSelector:'.container',
				minWidth:940
			});
		});
	</script>
    </body>
 </html>  